package com.ebelter.seneo.beans.httpresponse;


import com.ebelter.btcomlib.models.https.responses.BaseResponse;

import java.util.List;

public class GetAverageResponse extends BaseResponse {


    /**
     * resultData : {"count":19,"data":[{"avgWeight":69.1,"avgAR":24.2,"avgMQ":50,"avgHR":0,"days":"2018-10-19"},{"avgWeight":69.1,"avgAR":24.3,"avgMQ":50,"avgHR":0,"days":"2018-10-24"},{"avgWeight":69.2,"avgAR":24.1,"avgMQ":50,"avgHR":0,"days":"2018-10-26"},{"avgWeight":69.2,"avgAR":24.2,"avgMQ":50,"avgHR":0,"days":"2018-10-27"},{"avgWeight":69.2,"avgAR":24,"avgMQ":50,"avgHR":0,"days":"2018-10-28"},{"avgWeight":69.1,"avgAR":23.6,"avgMQ":50,"avgHR":0,"days":"2018-10-29"},{"avgWeight":68.6,"avgAR":23.6,"avgMQ":50,"avgHR":0,"days":"2018-11-13"},{"avgWeight":69.2,"avgAR":23.8,"avgMQ":50,"avgHR":0,"days":"2018-11-14"},{"avgWeight":69.1,"avgAR":23.7,"avgMQ":50,"avgHR":0,"days":"2018-11-15"},{"avgWeight":69.1,"avgAR":23.7,"avgMQ":50,"avgHR":0,"days":"2018-11-17"},{"avgWeight":69.1,"avgAR":24.7,"avgMQ":50,"avgHR":0,"days":"2018-11-18"},{"avgWeight":69.2,"avgAR":22.7,"avgMQ":50,"avgHR":0,"days":"2018-11-19"},{"avgWeight":68.9,"avgAR":22.2,"avgMQ":50,"avgHR":0,"days":"2018-11-28"},{"avgWeight":68.8,"avgAR":25.9,"avgMQ":48.8,"avgHR":0,"days":"2018-12-10"},{"avgWeight":68.9,"avgAR":22.1,"avgMQ":50,"avgHR":0,"days":"2018-12-28"},{"avgWeight":69.8,"avgAR":26.7,"avgMQ":49,"avgHR":0,"days":"2019-01-08"},{"avgWeight":66.4,"avgAR":23.9,"avgMQ":44.6,"avgHR":0,"days":"2019-02-26"},{"avgWeight":66.5,"avgAR":25.2,"avgMQ":43.6,"avgHR":69.5,"days":"2019-02-28"},{"avgWeight":66.1,"avgAR":0,"avgMQ":0,"avgHR":0,"days":"2019-03-01"}]}
     */

    private ResultDataBean resultData;

    public ResultDataBean getResultData() {
        return resultData;
    }

    public void setResultData(ResultDataBean resultData) {
        this.resultData = resultData;
    }

    public static class ResultDataBean {


        public int count;
        public List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * avgWeight : 69.1
             * avgAR : 24.2
             * avgMQ : 50.0
             * avgHR : 0.0
             * days : 2018-10-19
             */

            public float avgWeight;
            public float avgAR;
            public float avgMQ;
            public float avgHR;
            public String days;

            @Override
            public String toString() {
                return "DataBean{" +
                        "avgWeight=" + avgWeight +
                        ", avgAR=" + avgAR +
                        ", avgMQ=" + avgMQ +
                        ", avgHR=" + avgHR +
                        ", days='" + days + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "ResultDataBean{" +
                    "count=" + count +
                    ", data=" + data +
                    '}';
        }
    }
}
